<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>综合教务管理系统</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-image: url("img/login-backgrand.png");
            background-size: cover;
            background-position: bottom center;
        }
        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background-color: rgba(76, 175, 80, 0.8);
            color: white;
            padding: 10px 20px;
            border: 2px solid rgba(76, 175, 80, 0.8);
            border-radius: 10px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
        }
        nav {
            display: flex;
            justify-content: flex-end;
            margin-right: 100px;
            background-color: rgba(76, 175, 80, 0.1);
        }
        nav div {
            position: relative;
            padding: 15px;
            color: white;
            cursor: pointer;
            border-radius: 5px;
            margin-right: 10px;
            transition: background-color 0.3s;
        }
        nav div:hover {
            background-color: rgba(255, 255, 255, 0.1);
        }
        .dropdown {
            display: none;
            position: absolute;
            background-color: rgba(51, 51, 51, 0.9);
            min-width: 120px;
            z-index: 1;
            border-radius: 5px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
        }
        .dropdown div {
            padding: 8px 12px;
            color: white;
        }
        .dropdown div:hover {
            background-color: rgba(255, 255, 255, 0.2);
        }
        nav div:hover .dropdown {
            display: block;
        }
        .registration-container {
            background-color: rgba(255, 255, 255, 0.9);
            border-radius: 10px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
            padding: 20px;
            max-width: 400px;
            margin: 50px auto; /* Center the form */
            text-align: left;
        }
        .registration-container h2 {
            text-align: center;
            margin-bottom: 20px;
        }
        .registration-container label {
            display: block;
            margin-bottom: 5px;
        }
        .registration-container input {
            width: calc(100% - 20px); /* 调整宽度以与按钮一致 */
            padding: 8px; /* 内边距 */
            font-size: 14px; /* 字体大小 */
            margin-bottom: 15px;
            border: 1px solid #ccc;
            border-radius: 5px;
        }
        .registration-container button {
            width: 100%;
            padding: 10px;
            background-color: rgba(76, 175, 80, 0.8);
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: background-color 0.3s;
            margin-bottom: 10px; /* Add space between buttons */
        }
        .registration-container button:hover {
            background-color: rgba(76, 175, 80, 1);
        }
    </style>
</head>
<body>
    <header>
        <h1>综合教务管理系统</h1>
        <nav>
            <div>
                技术支持
                <div class="dropdown">
                    <div>MooDy</div>
                    <div>Niko</div>
                    <div>橘络</div>
                    <div>鬼狙</div>
                    <div>赵孙李</div>
                </div>
            </div>
            <div>
                赞助
                <div class="dropdown">
                    <div>601💎VIP👑会所赞助</div>
                </div>
            </div>
        </nav>
    </header>

    <div class="registration-container">
        <h2>注册</h2>
        <form method="post"> <!-- 修改提交方式为POST -->
            <label for="school-name">学校名称:</label>
            <input type="text" id="school-name" name="school-name" required>

            <label for="student-id">学工号:</label>
            <input type="text" id="student-id" name="student-id" required>

            <label for="name">姓名:</label>
            <input type="text" id="name" name="name" required>

            <label for="major-class">专业班级:</label>
            <input type="text" id="major-class" name="major-class" required>

            <label for="contact">联系方式:</label>
            <input type="text" id="contact" name="contact" required>

            <button type="submit">立即注册</button>
            <button type="reset">重置</button>
        </form>
    </div>
</body>
</html>
